package com.syyo.gulimall.ware.feign;

import com.syyo.common.domain.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ author wang
 * @ date: 2021/4/26 15:08
 * @ Description:
 */
@FeignClient("gulimall-order")
public interface OrderFeign {

    @GetMapping("order/order/status/{orderSn}")
    public ResultVo getOrderStatus(@PathVariable("orderSn") String orderSn);

}
